YayMail\Controllers\TemplateController S

Total Complexity 35
Dependencies 5
Dependents 1
Total lines 367
Lines of code 318
Logical lines of code 86
Comment lines 4
Methods 24
Properties 1

Methods 24

Method Rating Maintainability Complexity Lines of code
init_hooks()
A
35 1 136
copy_template()
S
52 6 23
reset_templates()
S
48 3 38
get_template_by_name()
S
54 3 24
change_status()
S
60 3 13
update_template()
S
56 1 19
__construct()
S
77 1 4
exec_change_global_header_footer_status()
S
78 1 3
get_all_shortcodes()
S
72 1 5
exec_get_all_shortcodes_by_template()
S
78 1 3
get_all_elements()
S
73 1 5
exec_get_all_elements_by_template()
S
78 1 3
exec_copy_template()
S
78 1 3
exec_change_status()
S
78 1 3
exec_reset_templates()
S
78 1 3
exec_get_template_by_name()
S
78 1 3
delete_template()
S
72 1 5
exec_delete_template()
S
78 1 3
exec_update_template()
S
78 1 3
get_template_by_id()
S
73 1 5
exec_get_template_by_id()
S
78 1 3
get_all_templates()
S
75 1 4
exec_get_all_templates()
S
78 1 3
change_global_header_footer_status()
S
74 1 4